package com.tsinghua.discharge;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;

import javax.sql.DataSource;
import java.sql.SQLException;

@EnableAutoConfiguration
@SpringBootApplication
public class DischargeApplication extends SpringBootServletInitializer{


    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return super.configure(builder);
    }

    public DischargeApplication() {
        super();
    }

    public static void main(String[] args) {
        SpringApplication.run(DischargeApplication.class, args);
    }


}
